package com.scaffold.myproject.service.item;
import com.scaffold.myproject.common.PageResult;
import com.scaffold.myproject.entity.item.ItemDoc;
import com.scaffold.myproject.entity.item.ItemEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.scaffold.myproject.model.req.item.ItemPageReq;

import java.io.IOException;

/**
 * <p>
 * 商品表 数据类
 * </p>
 *
 * @author LX
 * @since 2025-10-29
 */
public interface ItemService extends IService<ItemEntity>{

    PageResult<ItemEntity> searchPageFromDb(ItemPageReq req);

    PageResult<ItemDoc> searchPage(ItemPageReq req) throws IOException;
}